<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        p{
            font-size: 25px;
            font-weight: bold;
            font-family: 楷体;

            /* color: red; */
            /* 红绿蓝 */
            /* color: #FF6062;  */
            /* color: #ff7300; */
            /* color: #f00; color: #ff0000; */
            /* color: #000; color: #000000; */
            /* color: #ffffff; */
            color: #666;
        }
        .hello{
            width: 300px;
            height: 200px;
            background: #ccc;
            /* 文本的垂直居中：将line-height设置为与height相同即可 */
            /* line-height: 200px; */
            /* 文本的水平居中 */
            text-align: center;

            text-decoration: line-through;
        }
        img{
            vertical-align: middle;
        }
        .world{
            width: 900px;
            height: 700px;
            /* background-color: pink;
            background-image: url('imgs/fan2.png');
            background-repeat: no-repeat;
            /* background-position: center center; */
            /* background-position: 100px -70px; */
            /* background: pink url('imgs/fan2.png') no-repeat 100px 30px; */
            background: url('imgs/fan2.png') no-repeat;
            background-size: 100% 100%;
        }
    </style>
</head>
<body>
    <p>好好学习</p>

    <div class="hello">跟汤老师学开发</div>

    <img src="imgs/xigua.png" alt="">天天向上
    <hr>

    <div class="world">

    </div>
</body>
</html>